@function px2rem($px) {
    @return $px / 150 * 1rem;
}

body {
    background-color: #f4f4f4;
}

.nav-bar {
    height: px2rem(180);
    display: flex;
    align-items: center;
    background-color: white;
    .nav-left {
        width: 16%;
        padding: 0 2%;
        text-align: center;
        span {
            font-size: px2rem(60);
        }
        a {
            font-size: px2rem(75);
        }
    }
    .nav-center {
        width: 60%;
        text-align: center;
        flex: 1;
        a {
            font-size: px2rem(75);
        }
    }
    .nav-right {
        width: 20%;
        text-align: center;
        a {
            font-size: px2rem(60);
            color: #cccc;
        }
    }
}

.header {
    display: flex;
    align-items: center;
    height: px2rem(400);
    background-color: white;
    margin-top: px2rem(30);
    width: 100%;
    .header-left {
        width: 9%;
        img {
            width: px2rem(77);
            height: px2rem(77);
            float: right;
        }
    }
    .header-center {
        width: 23%;
        text-align: center;
        img {
            width: px2rem(348);
            height: px2rem(307);
        }
    }
    .header-right {
        width: 68%;
        height: px2rem(320);
        ul {
            li {
                font-size: px2rem(55);
                color: #000000;
                font-weight: bold;
                line-height: px2rem(75);
            }
        }
        span {
            color: #ff5a00;
            float: right;
            font-size: px2rem(42);
            font-weight: bold;
            padding-right: px2rem(60);
        }
        p {
            margin-top: px2rem(90);
            a {
                font-size: px2rem(45);
                color: #ff5a00;
                font-weight: bold;
            }
        }
        .header-right-r {
            float: right;
            height: px2rem(100);
            margin-right: px2rem(60);
            margin-top: px2rem(-50);
            border: 1px solid #ccc;
            border-radius: 5px;
            button {
                cursor: pointer;
                outline: 0;
                width: px2rem(110);
                height: px2rem(100);
                background-color: white;
                border: none;
            }
            button:first-child {
                border-radius: 5px 0 0 5px;
            }
            input {
                width: px2rem(135);
                height: px2rem(90);
                border-left: 1px solid #ccc;
                border-right: 1px solid #ccc;
                border-top: none;
                border-bottom: none;
                outline: 0;
                text-align: center;
            }
            button:last-child {
                border-radius: 0 5px 5px 0;
            }
        }
    }
}

.main {
    display: flex;
    align-items: center;
    height: px2rem(400);
    background-color: white;
    margin-top: px2rem(30);
    width: 100%;
    border-bottom: 1px solid #ccc;
    .main-left {
        width: 9%;
        img {
            width: px2rem(77);
            height: px2rem(77);
            float: right;
        }
    }
    .main-center {
        width: 23%;
        text-align: center;
        img {
            width: px2rem(348);
            height: px2rem(307);
        }
    }
    .main-right {
        width: 68%;
        height: px2rem(320);
        ul {
            li {
                font-size: px2rem(55);
                color: #000000;
                font-weight: bold;
                line-height: px2rem(75);
            }
        }
        span {
            color: #ff5a00;
            float: right;
            font-size: px2rem(42);
            font-weight: bold;
            padding-right: px2rem(60);
        }
        p {
            margin-top: px2rem(90);
            a {
                font-size: px2rem(45);
                color: #ff5a00;
                font-weight: bold;
            }
        }
        .main-right-r {
            float: right;
            height: px2rem(100);
            margin-right: px2rem(60);
            margin-top: px2rem(-50);
            border: 1px solid #ccc;
            border-radius: 5px;
            button {
                cursor: pointer;
                outline: 0;
                width: px2rem(110);
                height: px2rem(100);
                background-color: white;
                border: none;
            }
            button:first-child {
                border-radius: 5px 0 0 5px;
            }
            input {
                width: px2rem(135);
                height: px2rem(90);
                border-left: 1px solid #ccc;
                border-right: 1px solid #ccc;
                border-top: none;
                border-bottom: none;
                outline: 0;
                text-align: center;
            }
            button:last-child {
                border-radius: 0 5px 5px 0;
            }
        }
    }
}

.mian {
    display: flex;
    align-items: center;
    height: px2rem(400);
    background-color: white;
    width: 100%;
    .mian-left {
        width: 9%;
        img {
            width: px2rem(77);
            height: px2rem(77);
            float: right;
        }
    }
    .mian-center {
        width: 23%;
        text-align: center;
        img {
            width: px2rem(348);
            height: px2rem(307);
        }
    }
    .mian-right {
        width: 68%;
        height: px2rem(320);
        ul {
            li {
                font-size: px2rem(55);
                color: #000000;
                font-weight: bold;
                line-height: px2rem(75);
            }
        }
        span {
            color: #ff5a00;
            float: right;
            font-size: px2rem(42);
            font-weight: bold;
            padding-right: px2rem(60);
        }
        p {
            margin-top: px2rem(90);
            a {
                font-size: px2rem(45);
                color: #ff5a00;
                font-weight: bold;
            }
        }
        .mian-right-r {
            float: right;
            height: px2rem(100);
            margin-right: px2rem(60);
            margin-top: px2rem(-50);
            border: 1px solid #ccc;
            border-radius: 5px;
            button {
                cursor: pointer;
                outline: 0;
                width: px2rem(110);
                height: px2rem(100);
                background-color: white;
                border: none;
            }
            button:first-child {
                border-radius: 5px 0 0 5px;
            }
            input {
                width: px2rem(135);
                height: px2rem(90);
                border-left: 1px solid #ccc;
                border-right: 1px solid #ccc;
                border-top: none;
                border-bottom: none;
                outline: 0;
                text-align: center;
            }
            button:last-child {
                border-radius: 0 5px 5px 0;
            }
        }
    }
}

.footer {
    display: flex;
    align-items: center;
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    height: 8%;
    border-top: 1px solid #ccc;
    background-color: white;
    .footer-left {
        width: 25%;
        text-align: center;
        a {
            font-size: px2rem(60);
            color: #ccc;
        }
        img {
            width: px2rem(60);
            height: px2rem(60);
            padding-right: px2rem(20);
        }
    }
    .footer-center {
        width: 43%;
        a {
            font-size: px2rem(65);
        }
        span {
            font-size: px2rem(45);
        }
        .footer-center-a {
            color: #ff5a00;
        }
    }
    .footer-right {
        width: 32%;
        height: 100%;
        button {
            width: 100%;
            height: 100%;
            background-color: #ff5a00;
            font-size: px2rem(60);
            color: white;
            border: none;
            cursor: pointer;
            outline: 0;
        }
    }
}